﻿namespace Ex04.Menus.Test
{
    using System;
    using System.Collections.Generic;
    using System.Text;

    public static class ExtentionFunctions
    {
        #region Messages
        private const string k_WhatsYourName = "Psst, what's your name?";
        private const string k_HelloFormat = "Hello {0}!";
        private const string k_Version = "Version: 14.1.4.0";
        #endregion

        #region Public Methods
        public static void ShowWelcome()
        {
            Console.WriteLine(k_WhatsYourName);
            Console.WriteLine(k_HelloFormat, Console.ReadLine());
        }

        public static void ShowVersion()
        {
            Console.WriteLine(k_Version);
        }

        public static void ShowDate()
        {
            Console.WriteLine(DateTime.Today.Date.ToString("d"));
        }

        public static void ShowTime()
        {
            Console.WriteLine(DateTime.Now.ToShortTimeString());
        }
        #endregion
    }
}
